package org.lwd.datalink.service.impl;

import org.lwd.datalink.domain.interceptor.InterceptorInfo;
import org.lwd.datalink.mapper.InterceptorMapper;
import org.lwd.datalink.service.InterceptorService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author: weidong.lin
 * @Description: 拦截器配置 Service 接口实现
 * @Date: create in 2024/4/2 14:05
 */
@Service
public class InterceptorServiceImpl implements InterceptorService {

    @Resource
    private InterceptorMapper interceptorMapper;

    @Override
    public InterceptorInfo getInterceptor(Long id) {
        return interceptorMapper.findInterceptorById(id);
    }
}
